package SocialNet;

public class Vote {
    private int fromID;
    private int toID;
    
    public int getFromID() {
        return fromID;
    }
    public void setFromID(int fromID) {
        this.fromID = fromID;
    }
    public int getToID() {
        return toID;
    }
    public void setToID(int toID) {
        this.toID = toID;
    }
    
    public Vote(int fromID, int toID) {
        super();
        this.fromID = fromID;
        this.toID = toID;
    }
    @Override
    public String toString() {
        return "Vote [fromID=" + fromID + ", toID=" + toID + "]";
    }
}
